package com.nd.android.u.ui.messageCreator;

import android.content.Context;

import com.nd.android.u.controller.innerInterface.IChatListItem;
import com.nd.android.u.controller.innerInterface.IMessageDisplay;
import com.nd.android.u.controller.outInterface.IMessageCreator;
import com.nd.android.u.ui.activity.message_chat.ChatActivity_System;
import com.nd.android.u.ui.beanStarApp.DisplayMessage_System;

/**
 * 系统消息生产者
 * <br>Created 2014-8-20 上午10:09:07
 * @version  
 * @author   cb		
 * @see 	 
 */
public class SystemMessageCreator implements IMessageCreator {

	@Override
	public IMessageDisplay getMessageDisplay(int groupType,String gid) {
		return new DisplayMessage_System(gid,groupType);
	}

	@Override
	public Class<?> getDisplayClass(IMessageDisplay message) {
		return ChatActivity_System.class;
	}

	@Override
	public IChatListItem getMessageView(Context context, IMessageDisplay message, boolean getParentOnly) {
		// TODO Auto-generated method stub
		return null;
	}
}
